package com.example.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.entity.Price;
import com.example.mapper.PriceMapper;
import com.example.service.PriceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 价格 服务实现类
 * </p>
 *
 * @author fanbinbing
 * @since 2021-11-30
 */
@Service
public class PriceServiceImpl extends ServiceImpl<PriceMapper, Price> implements PriceService {
    @Resource
    PriceMapper priceMapper;

    @Override
    public IPage<Price> selectByPrice(IPage<Price> page,Wrapper<Price> queryWrapper) {
        return priceMapper.selectByPrice(page,queryWrapper);
    }
}
